package com.reconcile.phone.business.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.reconcile.phone.business.domain.bo.RpPhoneCodeBo;
import com.reconcile.phone.business.domain.vo.RpPhoneCodeVo;
import com.reconcile.phone.common.core.domain.PageQuery;

/**
 * Author: liuliyou
 * Date: 2025/8/5
 */
public interface RpPhoneCodeService {

    /**
     * 新增手机号
     *
     * @param bo
     * @return
     */
    int insertPhoneCode(RpPhoneCodeBo bo);

    /**
     * 编辑手机号
     *
     * @param bo
     * @return
     */
    int updatePhoneCode(RpPhoneCodeBo bo);

    /**
     * 手机号列表查询
     *
     * @param bo
     * @param pageQuery
     * @return
     */
    Page<RpPhoneCodeVo> selectPhoneCodeList(RpPhoneCodeBo bo, PageQuery pageQuery);

    /**
     * 手机号详细信息
     *
     * @param phoneCodeId
     * @return
     */
    RpPhoneCodeVo queryPhoneCodeById(Long phoneCodeId);

    /**
     * 删除手机号
     *
     * @param bankCardId
     * @return
     */
    int deletePhoneCodeById(Long phoneCodeId);
}
